package com.casic.ops.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.casic.ops.entity.domain.UserInfoDO;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName ops-platform
 * @Description 用户表
 * @Author mianbin
 * @Date 2022/5/31 10:59
 * @Version 1.0
 **/
public interface UserInfoDAO extends BaseMapper<UserInfoDO> {

    /**
     * 更新最后登录时间
     *
     * @param userId userId
     * @return effect
     */
    Integer updateLastLoginTime(@Param("userId") Long userId);

}
